variable adj. 1.易变的,变化无常的,无定的 (opp. constant, steady)。 2.可变的,能变的;变换的。 3.【数学】变量的;【天文学】变光的;【生物学】变异的。 Prices are variable according to the exchanges. 物价跟着汇率变动。 a man of variable character 反复无常的人。 a rod of variable length (伸缩)如意棒。 a word of variable construction 可以作种种解释的词。 variable capital 可变资本。 a variable budget 临时预算。 n. 1.易变的东西。 2.【数学】变量,变数,变项,变元 (opp. constant);【天文学】变星 (=variable star);【航海】(方向不定的)变风,不定风 (opp. trade wind); 〔pl.〕 (贸易风带中的)变风带。 adv. -ably ,-ness n.
Maintain a shared variable across all test iterations in a load test 在负载测试中的所有测试迭代间维护一个共享变量。
Locks around shared variables allow java threads to quickly and easily communicate and synchronize 给共享变量上锁就使得java线程能够快速方便地通信和同步。
Some very strange things can happen if you fail to synchronize when accessing shared variables 如果在访问共享变量的时候没有同步的话,就会发生一些奇怪的事情。
You will be able to share variables among the scripted action script and the prefix and suffix scripts 可以在scripted action脚本与前缀脚本和后缀脚本间共享变量。
In the preceding example , the compiler generates a warning message both times the code accesses the shared variable 在前面的示例中,编译器在代码通过实例访问共享变量
Volatile variables can also be used to store shared variables at a lower cost than that of synchronization , but they have limitations 还可以使用可变变量来以比同步更低的成本存储共享变量,但它们有局限性。
A shared variable or event is stored in memory only once , no matter how many or few instances you create of its class or structure 共享变量或事件只能在内存中存储一次,而无论您创建多少个它的类或结构的实例。
Unfortunately , this situation is a common use case for volatile - using a volatile field as a " guard " to indicate that a set of shared variables had been initialized 不幸地,这是volatile常见用例用一个volatile字段作为“守护”表明已经初始化了一组共享变量。
In particular , nearly every modern processor has instructions for updating shared variables in a way that can either detect or prevent concurrent access from other processors 特别是,几乎每个现代处理器都有通过可以检测或阻止其他处理器的并发访问的方式来更新共享变量的指令。
Developers may find use for atomic variables directly as a higher - performance replacement for shared counters , sequence number generators , and other independent shared variables that otherwise would have to be protected by synchronization 开发人员可以直接将原子变量用作共享计数器、序号生成器和其他独立共享变量的高性能替代,否则必须通过同步保护这些变量。